package com.pactera.asmp.server.dao;

import com.pactera.asmp.server.pojo.TCanInfo;
import com.pactera.asmp.server.pojo.TCanInfoExample;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ProjectName: asmp-server
 * @Package com.pactera.asmp.server.dao
 * @ClassName: TCanInfoMapper
 * @Description: TCanInfoMapper
 * @Date 2020/07/14 17:12
 * @Author lvzhiqiang
 * @Version 1.0
 */
@Mapper
public interface TCanInfoMapper {
    long countByExample(TCanInfoExample example);

    int deleteByExample(TCanInfoExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TCanInfo record);

    int insertSelective(TCanInfo record);

    List<TCanInfo> selectByExample(TCanInfoExample example);

    TCanInfo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TCanInfo record, @Param("example") TCanInfoExample example);

    int updateByExample(@Param("record") TCanInfo record, @Param("example") TCanInfoExample example);

    int updateByPrimaryKeySelective(TCanInfo record);
    int updateByPrimaryKeySelective2(TCanInfo record);

    int updateByPrimaryKey(TCanInfo record);

    int batchInsert(List<TCanInfo> list);
}